-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(storybook): update documentation to the latest versions available for pnpm installation #7953
docs(storybook): update documentation to the latest versions available for pnpm installation #7953
Conversation
…e for pnpm installation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
@javiev is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
Thanks for this update! It looks like a merge conflict has come up due to another community PR. Could you fix that up and then I can approve and we can merge? |
@anthonyshew conflict fixed, please review again! |
…ok-tools-storybook
…ls-storybook' into docs/update-section-handbook-tools-storybook
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you!
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
For pnpm installation
Description
Starting a project with TurboRepo, Storybook 8+, and Next.js 14 with App Router, I encountered issues using the current guides, which prevented an effective installation. This fork aims to update the documentation to address these issues, providing clear, updated steps for a successful installation of these technologies. Evidence of initial challenges and positive outcomes following the suggested documentation adjustments are included, making the process smoother for future users.
I hope the suggested changes prove useful to the community. I'd like to thank the Vercel development team for providing us with powerful and innovative tools, facilitating the advancement of our projects with cutting-edge technology.
Testing Instructions
In the project development process, the first issue emerged when using pnpm dlx sb init --skip-install, leading to complications. To tackle a second issue regarding dependencies, "ui": "workspace:*" was replaced with "@repo/ui": "workspace:*", modifying the declaration approach. For the third issue, importing components was adjusted from import { Button } from 'ui' to import { Button } from '@repo/ui/button', solving import problems. These suggested changes showcased an improvement in the final results.
Using pnpm dlx sb init --skip-install led to the first issue.
Replacing "ui": "workspace:" with "@repo/ui": "workspace:" addressed a dependency problem.
before
after
Changing imports from import { Button } from 'ui' to import { Button } from '@repo/ui/button' fixed import issues.
before
after
Final Outcome: The implementation of these changes led to a successful setup and integration.